package cn.tworice.common.entity.code;

import lombok.Data;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import cn.tworice.common.po.BasicPO;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
@Data
public class Goods extends BasicPO implements Serializable {
    @ExcelProperty("ID（此列请留空）")
    private Integer id;
    @ExcelProperty("商品名称")
    private String goodsName;
    @ExcelProperty("商品价格")
    private Double goodsPrice;
    @ExcelProperty("描述")
    private String description;
    @ExcelProperty("分类")
    private Integer classify;
    @ExcelProperty("库存")
    private Integer stock;

    private String classifyName;
    private List<GoodsImg> img;
}